﻿<%@ Page Language="C#" MasterPageFile="~/PaginaInicio.master" AutoEventWireup="true" CodeFile="Alta_Empleado.aspx.cs" Inherits="Alta_Empleado" Title="Página sin título" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
     
    <style type="text/css">

        .style27
        {
            color: #FFFFFF;
            height: 15px;
            font-family: Tahoma;
            font-size: medium;
        }
        .style28
        {
            height: 404px;
        }
        .style12
        {
            font-size: xx-small;
        }
        .style55
        {
            border: medium solid #00334C;
            width: 46px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            text-align: left;
        }
        .style56
        {
            width: 1px;
        }
        .style53
        {
            border: medium solid #0085C6;
            margin: 0px;
            width: 235px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            text-align: left;
            height: 16px;
        }
        .style57
        {
            width: 377px;
        }
        .style58
        {
            width: 543px;
        }
              
           
        .style10
        {
            border: medium solid #0085C6;
            width: 228px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            margin-left: 0px;
            margin-right: 0px;
            margin-top: 0px;
        }
        
                           
        .style60
        {
            width: 522px;
            text-align: right;
            height: 186px;
        }
        .style61
        {
            border: medium solid #00334C;
            width: 16px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
        }
        .style62
        {
            width: 260px;
        }
        .style63
        {
            border: medium solid #0085C6;
            margin: 0px;
            width: 16px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            height: 16px;
        }
        .style66
        {
            border: medium solid #0085C6;
            margin: 0px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            text-align: left;
            height: 36px;
        }
        
                           
        .style71
        {
            width: 100px;
        }
                
                           
        .style72
        {
            border: medium solid #00334C;
            width: 235px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            text-align: left;
        }
                
                           
        </style>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

 <table style="width: 100%; height: 348px;">
        <tr>
            <td class="style57">
                &nbsp;
            </td>
            <td class="style58" style="text-align: center">
    
    
    
    <asp:Panel ID="Panel5" runat="server" Height="464px" style="margin-left: 0px" 
        Width="615px" HorizontalAlign="Justify">
        <table style="width:94%; height: 546px;">
            <tr>
                <td bgcolor="#C62D73" class="style27" 
                    style="border-bottom-color: #000000; border-bottom-width: thin">
                    Registro de Empeado</td>
            </tr>
            <tr style="border-bottom-style: solid; border-color: #00334C">
                <td bgcolor="#00334C" class="style28" align="char" 
                    style="border-bottom-style: none">
                    <asp:Panel ID="Panel4" runat="server" BackColor="#00547D" BorderColor="Black" 
                        BorderStyle="None" CssClass="style12" Height="476px" 
                        style="margin-left: 15px; margin-right: 0px; margin-top: 0px;" 
                        Width="529px" BorderWidth="15px">
                        <table bgcolor="#00547D" cellspacing="0" class="style60" 
                            frame="above" 
                            
                            style="border: thin solid #00547D; margin: 0px; " 
                            align="left">
                            <tr>
                                <td class="style72" style="border: medium solid #00547D;" colspan="4">
                                    <asp:TextBox ID="txtNombre" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" FocusOut="Rellenar(this);" 
                                        Font-Italic="True" ForeColor="#CCCCCC" Height="20px" OnClick="Limpiar(this);" 
                                        Width="201px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtNombre_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtNombre" 
                                        WatermarkText="Nombre">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td class="style61" style="border: medium solid #00547D;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                        ControlToValidate="txtNombre" Display="Dynamic" ValidationGroup="1">*</asp:RequiredFieldValidator>
                                </td>
                                <td class="style56" rowspan="9" style="border: medium solid #00547D;" 
                                    align="left" valign="top">
                                    <img alt="" src="Imagenes/linea%20vertical.png" 
                                        style="width: 1px; height: 170px" /></td>
                                <td align="left" rowspan="5" 
                                    style="border: medium solid #00547D; font-family: Tahoma; color: #FFFFFF; font-size: x-small;" 
                                    valign="top" class="style62">
                                    <span>
                                    <asp:Label ID="Label8" runat="server" style="font-style: italic"  
                                        
                                        Text="Los datos solicitados a su izquierda son necesarios para posibilitar
                                         la comunicacion con los empleados y poder contactalos a la hora de 
                                         relalizar un evento." Font-Size="Small"></asp:Label>
                                   
                                    </span></td>
                            </tr>
                            
                            <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                    <asp:TextBox ID="txtApellido" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" OnClick="Limpiar(this);" Width="200px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtApellido_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtApellido" 
                                        WatermarkText="Apellido">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td class="style63" style="border: medium solid #00547D;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                        ControlToValidate="txtApellido" Display="Dynamic" ValidationGroup="1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            
                             <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                    <asp:TextBox ID="txtUsuario" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" OnClick="Limpiar(this);" Width="200px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" 
                                        runat="server" Enabled="True" TargetControlID="txtUsuario" 
                                        WatermarkText="Nombre Usuario">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td class="style63" style="border: medium solid #00547D;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                        ControlToValidate="txtUsuario" Display="Dynamic" ValidationGroup="1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            
                             <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                    <asp:TextBox ID="txtContrasenia" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" OnClick="Limpiar(this);" Width="200px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" 
                                        runat="server" Enabled="True" TargetControlID="txtContrasenia" 
                                        WatermarkText="Contraseña">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td class="style63" style="border: medium solid #00547D;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                        ControlToValidate="txtContrasenia" Display="Dynamic" ValidationGroup="1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            
                            <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                    <asp:TextBox ID="txtTelefono" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" MaxLength="25" OnClick="Limpiar(this);" Width="200px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtTelefono_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtTelefono" 
                                        WatermarkText="Teléfono">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                
                                <td class="style63" style="border: medium solid #00547D;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                        ControlToValidate="txtTelefono" Display="Dynamic" ValidationGroup="1">*</asp:RequiredFieldValidator>
                                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                        ControlToValidate="txtTelefono" Display="Dynamic" 
                                        ErrorMessage="Ingrese solo numeros de telefono" Operator="DataTypeCheck" 
                                        Type="Integer" ValidationGroup="1">*</asp:CompareValidator>
                                </td>
                            </tr>
                            <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                    <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" 
                                        runat="server" Enabled="True" TargetControlID="txtNombre" 
                                        WatermarkText="Nombre" >
                                    </cc1:TextBoxWatermarkExtender> 
                                    <asp:TextBox ID="txtEMail" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" OnClick="Limpiar(this);" Width="200px"></asp:TextBox>
                                    <cc1:FilteredTextBoxExtender ID="txtEMail_FilteredTextBoxExtender" 
                                        runat="server" Enabled="False" FilterType="Numbers" TargetControlID="txtEMail">
                                    </cc1:FilteredTextBoxExtender>
                                    <cc1:TextBoxWatermarkExtender ID="txtEMail_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtEMail" WatermarkText="e-mail">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                 <td class="style63" style="border: medium solid #00547D;">
                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                         ControlToValidate="txtEMail" Display="Static" 
                                         ErrorMessage="Ingrese e-mail Valido" ValidationExpression=".*@.*\.*" 
                                         ValidationGroup="1">*</asp:RegularExpressionValidator>
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                         ControlToValidate="txtEMail" Display="Dynamic" ValidationGroup="1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr style="border: medium dotted #CC0099;">
                                <td style="border: medium solid #00547D;" align="left" class="style71">
                                         
                                    <asp:TextBox ID="txtNumDoc" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="22px" MaxLength="25" OnClick="Limpiar(this);" Width="101px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtNumDoc_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtNumDoc" 
                                        WatermarkText="Numero Doc">
                                    </cc1:TextBoxWatermarkExtender>
                                         
                                </td>
                                 <td class="style66" style="border: medium solid #00547D;">
                                     <asp:DropDownList ID="ddlTipoDoc" runat="server" AppendDataBoundItems="True" 
                                         AutoPostBack="false" BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                         Height="22px" style="font-family: Tahoma" ToolTip="Seleccione una opción" 
                                         Width="80px" Font-Italic="True" Font-Size="10pt">
                                         <asp:ListItem> Tipo Doc
                                         </asp:ListItem>
                                     </asp:DropDownList>
                                </td>
                                 
                            </tr>
                            <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                         
                                    <asp:DropDownList ID="ddlSexo" runat="server" AppendDataBoundItems="True" 
                                        AutoPostBack="false" BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                        Height="22px" style="font-family: Tahoma" ToolTip="Seleccione una opción" 
                                        Width="90px" Font-Size="10pt" Font-Italic="True">
                                        <asp:ListItem> Sexo
                                        </asp:ListItem>
                                        <asp:ListItem>Hombre</asp:ListItem>
                                        <asp:ListItem>Mujer</asp:ListItem>
                                    </asp:DropDownList>
                                         
                                </td>
                            </tr>
                             <tr style="border: medium dotted #CC0099;">
                                <td class="style53" style="border: medium solid #00547D;" colspan="4">
                                    <asp:Label ID="Label9" runat="server" Text="Direccion_del_Empleado"></asp:Label>
                                    </td>
                            </tr>
                           
                            
                                
                           
                            <tr>
                                <td style="border: medium solid #00547D;" align="left" class="style71">
                                    <asp:TextBox ID="txtCalle" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="21px" MaxLength="25" OnClick="Limpiar(this);" Width="112px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtCalle_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtCalle" WatermarkText="Calle">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td class="style55" style="border: medium solid #00547D;">
                                    <asp:TextBox ID="txtNumero" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" MaxLength="25" OnClick="Limpiar(this);" Width="45px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtNumero_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtNumero" 
                                        WatermarkText="Nro.">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                              
                            </tr>
                             
                            <tr style="border: medium dotted #CC0099;">
                                <td  style="border: medium solid #00547D;" align="left" class="style71">
                                    <asp:TextBox ID="txtPiso" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" MaxLength="25" OnClick="Limpiar(this);" Width="32px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtPiso_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtPiso" 
                                        WatermarkText="Piso">
                                    </cc1:TextBoxWatermarkExtender>
                                    &nbsp;
                                     <asp:TextBox ID="txtDepto" runat="server" BackColor="#0085C6" 
                                        BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                        Height="20px" MaxLength="25" OnClick="Limpiar(this);" Width="40px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="txtDepto_TextBoxWatermarkExtender" 
                                        runat="server" Enabled="True" TargetControlID="txtDepto" 
                                        WatermarkText="Depto">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                               
                               
                               
                                
                            </tr>
                               
                            <tr style="border: medium dotted #CC0099;">
                                <td style="border: medium solid #00547D;">
                                    <asp:DropDownList ID="ddlLocalidad" runat="server" AppendDataBoundItems="True" 
                                    AutoPostBack="True" BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                    Height="22px" style="font-family: Tahoma" ToolTip="Seleccione una opción" 
                                    Width="114px" onselectedindexchanged="ddlLocalidad_SelectedIndexChanged" 
                                        Font-Italic="True">
                                    <asp:ListItem> Localidad
                                            </asp:ListItem>
                                    </asp:DropDownList>
                                    &nbsp;&nbsp;
                                    <asp:DropDownList ID="ddlBarrio" runat="server" AppendDataBoundItems="True" 
                                    AutoPostBack="false" BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                    Height="22px" style="font-family: Tahoma" ToolTip="Seleccione una opción" 
                                    Width="114px" Font-Bold="False" Font-Italic="True">
                                    <asp:ListItem> Barrio
                                    </asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                     <asp:DropDownList ID="ddlTipoEmpleado" runat="server" AppendDataBoundItems="True" 
                                    AutoPostBack="false" BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                    Height="22px" style="font-family: Tahoma" ToolTip="Seleccione una opción" 
                                    Width="125px" Font-Bold="False" Font-Italic="True">
                                    <asp:ListItem>Tipo Empleado</asp:ListItem>
                                    </asp:DropDownList>
                                    
                                    
                                    </td>
                              
                            </tr>
                            
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td align="right" bgcolor="#00334C" 
                    style="border-style: solid none none none; border-color: #00334C;">
                    <asp:Label ID="lblEnviar" runat="server" ForeColor="White"></asp:Label>
                    <span style="border-style: none">
                   
                    <asp:Button ID="btnEnviar" runat="server" BackColor="#0085C6" BorderStyle="None" 
                        Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" Height="23px"
                        ValidationGroup="1"
                        style="margin-top: 0px" Text="Aceptar" Width="65px" 
                        onclick="btnEnviar_Click"  />
                        &nbsp;&nbsp;
                        <asp:Button ID="btnCancelar" runat="server" BackColor="#0085C6" BorderStyle="None" 
                        Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" Height="23px"
                       
                        style="margin-top: 0px" Text="Cancelar" Width="65px" onclick="btnCancelar_Click" 
                          />
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                        style="margin-top: 0px" ValidationGroup="1" />
                    &nbsp;&nbsp;&nbsp;<asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                </td>
            </tr>
        </table>
    </asp:Panel>
    
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        </table> 


</asp:Content>

